////////////////////////////////////////////////////////////////////////////////
// Filename: ModelPostureBone.h
////////////////////////////////////////////////////////////////////////////////
#ifndef _ModelPostureBONE_H_
#define _ModelPostureBONE_H_

#include <vector>
#include <map>
#include <d3d11.h>
#include <xnamath.h>

class TiXmlElement;

class ModelPostureBone
{
public:
	ModelPostureBone();
	ModelPostureBone(const ModelPostureBone&);
	~ModelPostureBone();

	void Initialize(TiXmlElement* pModelPostureBoneElement);
	std::string GetBoneName();
	XMFLOAT4X4 GetTransform();
	XMFLOAT4 GetQuaternion();
protected:
	std::string mBoneName;
	XMFLOAT4 mRotation;

};

XMFLOAT4X4 GetModelPostureBoneLerp(ModelPostureBone* pModelPostureBone1, ModelPostureBone* pModelPostureBone2, float pTime);
#endif